{% if product_detail.star != 0 %}
  {% include 'comment_star', score: product_detail.star %}
{% else %}
  {% include 'comment_star', score: storeConfig.product_comment_virtual_star_rating %}
{% endif %}
